package com.exam.hibuy.util;

import org.apache.shiro.crypto.hash.Md5Hash;

public class Md5Util {

	public static String md5(String originPassword,String salt){
        return new Md5Hash(originPassword,salt).toString();
    }

    public static void main(String[] args) {
    	for (int i = 0; i < 10; i++) {
    		System.out.println(md5("123456","dyg"));
		}
        
    }
}
